﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CrawlerApp.Extensions
{
    public static class StringExtensions
    {
        public static int ToInt(this string str)
        {
            if(int.TryParse(str,out int val))
            {
                return val;
            }
            return default;
        }
    }
}
